package com.ruoyi.whc.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 用户管理对象 fronthost
 * 
 * @author lbb
 * @date 2022-09-22
 */
public class User extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 前台用户id */
    private Long uid;

    /** 用户名 */
    @Excel(name = "用户名")
    private String uname;

    /** 注册时间 */
    @Excel(name = "注册时间")
    private String regtime;

    /** 微信号 */
    @Excel(name = "微信号")
    private String phone;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idnumber;

    /** 密码 */
    @Excel(name = "密码")
    private String upwd;

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getRegtime() {
        return regtime;
    }

    public void setRegtime(String regtime) {
        this.regtime = regtime;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getIdnumber() {
        return idnumber;
    }

    public void setIdnumber(String idnumber) {
        this.idnumber = idnumber;
    }

    public String getUpwd() {
        return upwd;
    }

    public void setUpwd(String upwd) {
        this.upwd = upwd;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }



//    @Override
//    public String toString() {
//        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
//            .append("uid", getUid())
//            .append("uname", getUname())
//            .append("regtime", getRegtime())
//            .append("phone", getPhone())
//            .append("sex", getSex())
//            .append("idnumber", getIdnumber())
//            .append("upwd", getUpwd())
//            .append("r1", getR1())
//            .append("r3", getR3())
//            .append("frontslaveList", getFrontslaveList())
//            .toString();
//    }


    @Override
    public String toString() {
        return "Fronthost{" +
                "uid=" + uid +
                ", uname='" + uname + '\'' +
                ", regtime='" + regtime + '\'' +
                ", phone='" + phone + '\'' +
                ", sex='" + sex + '\'' +
                ", idnumber='" + idnumber + '\'' +
                ", upwd='" + upwd + '\'' +
                '}';
    }
}
